<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-borrowId" class="control-label col-xs-12 col-sm-2">{:__('BorrowId')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-borrowId" data-rule="required" class="form-control" name="row[borrowId]" type="number" value="{$row.borrowId}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-userId" class="control-label col-xs-12 col-sm-2">{:__('UserId')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-userId" class="form-control" name="row[userId]" type="number" value="{$row.userId}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-period" class="control-label col-xs-12 col-sm-2">{:__('Period')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-period" data-rule="required" class="form-control" name="row[period]" type="number" value="{$row.period}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-totalPeriod" class="control-label col-xs-12 col-sm-2">{:__('TotalPeriod')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-totalPeriod" data-rule="required" class="form-control" name="row[totalPeriod]" type="number" value="{$row.totalPeriod}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-repayAccount" class="control-label col-xs-12 col-sm-2">{:__('RepayAccount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-repayAccount" data-rule="required" class="form-control" step="0.01" name="row[repayAccount]" type="number" value="{$row.repayAccount}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-status" class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-status" data-rule="required" class="form-control" name="row[status]" type="number" value="{$row.status}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-repayTime" class="control-label col-xs-12 col-sm-2">{:__('RepayTime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-repayTime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[repayTime]" type="text" value="{$row.repayTime|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-updateTime" class="control-label col-xs-12 col-sm-2">{:__('UpdateTime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-updateTime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[updateTime]" type="text" value="{$row.updateTime|datetime}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
